﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GTA.BusinessEntity.Configuration
{
    public class AlertTasksOverdueAlert : AlertTasks
    {
        public AlertTasksOverdueAlert() { }
        public AlertTasksOverdueAlert(BusinessEntity.Configuration.Alert alert)
            : base(alert)
        {
        }
        public AlertTasksOverdueAlert(BusinessEntity.Configuration.AlertTasks alert)
            : this((Alert)alert)
        {
            ScheduleStartFrom = alert.ScheduleStartFrom;
            ScheduleStartTo = alert.ScheduleStartTo;
            ScheduleEndFrom = alert.ScheduleEndFrom;
            ScheduleEndTo = alert.ScheduleEndTo;
            Projects = alert.Projects;
            Users = alert.Users;
            Categories = alert.Categories;
            States = alert.States;
        }

        public bool StartOverdueAlert { get; set; }
        public Int32 StartOverdueDays { get; set; }
        public bool EndOverdueAlert { get; set; }
        public Int32 EndOverdueDays { get; set; }
        public Int32 EndOverduePercent { get; set; }
    }
}
